Add page numbers and system information

This topic describes how to insert page numbers or other system information (e.g. current date and time, user name, etc.) into a report.

Generally, this information is displayed within the Page Header and Footer or Page Margin bands. To add page numbers or system information to a report, locate the Control Toolbox and drag and drop the page info control.

Adding the page info control

Then, follow the instructions below for your specific task:

Add page numbers

  1. Select the Page Info control, click on its Smart Tag, and in the actions list, expand the drop-down list for the Page Information entry.

    Select whether to display only the page number (Latin or Roman, upper case or lower case), or the current page number with total pages.

  2. Selecting the page number type

  3. To format the control's text, via its Smart Tag, open its actions list, and specify the required format (e.g. Page {0} of {1}).
  4. Selecting the page number format

  5. Using the control's actions list, you also can specify the starting page number, and the running band (e.g. this option is available when there are groups in a report, and it's required to apply independent page numbering for them). For details on this, see Add page numbers for groups.

The result is shown below.

Page numbering applied to report

Add system date and time

  1. Select the Page Info control, click on its Smart Tag, and in the actions list, expand the drop-down list for the Page Information entry, and select Current Date and Time.
  2. Adding system date and time

  3. To format the control's text, via its Smart Tag, open its actions list, and specify the required format. You can either type it in the Format field or click on its ellipsis button and use the Format String Editor.
  4. Format String Editor

The result is shown below.

Added date in a report

Add the user name

  1. Select the Page Info control, click on its Smart Tag, and in the actions list, expand the drop-down list for the Page Information entry, and select User Name.
  2. Adding the user name

  3. To format the control's text, using its Smart Tag, open its actions list and specify the required format (e.g. Current User: {0}).
  4. Formatting the user name

The result is shown below.

User name in the report